package com.wangxiang.sys.manage.dao;

import com.wangxiang.sys.manage.entity.RoleUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-03-05 17:28:26
 */
@Mapper
public interface RoleUserDao extends BaseMapper<RoleUserEntity> {
	int getRoleIdByUser(int userId);
	int addEntity(int userId,int roleId);
	int selectRoleId(int UserId);
	int updateEntity(int userId,int roleId);

}
